import {getImportPrefix} from "css-loader/dist/utils";

const {mul, add} = require('./js/mathUtils.js')
console.log(mul(10, 20));
console.log(add(10, 20));

import {name, age, weight, height} from "./js/info";

console.log(name, age, weight, height);

//依赖css文件
require('./css/normal.css')
//依赖less文件
require('./css/special.less')

//此外，我们再在index界面上写一些东西。
document.writeln('<p>你好哇，vue！</p>')

import Vue from 'vue';
import Cpp from './vue/Cpp.vue'
new Vue({
  el: '#app',
  template: `
    <Cpp/>`,
  components: {
    Cpp
  }
})